package recursion;

/**
 * @Author: zhangQi
 * @Date: 2020-09-19 14:58
 */
public class CountDown {

    public static void main(String[] args) {
        countDown(5);
    }

    private static void countDown(int i) {

        if (i <= 0) {
            return;
        } else {
            System.out.println(i + " will be countDown`");
            countDown(i - 1);
        }
    }
}
